import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SRaceRoom
    
    export  class SRaceRoom
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.roomId);
            arg1.writeBool(this.isStart);
            arg1.writeInt(this.playerNum);
            arg1.writeInt(this.maxPlayerNum);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.roomId = arg1.readInt();
            this.isStart = arg1.readBool();
            this.playerNum = arg1.readInt();
            this.maxPlayerNum = arg1.readInt();
            return;
        }

        public /* var */roomId: int;

        public /* var */isStart: Boolean;

        public /* var */playerNum: int;

        public /* var */maxPlayerNum: int;
    }
